export function HiJacking(clazz: any, targetFun: Function) {
  clazz.prototype.writeFile = function (type: number, tag: string, message: string) {
    targetFun(type, tag, message);
  }

}